#ifndef SPRITEBARREL_H
#define SPRITEBARREL_H

#pragma once

#include "Sprite.h"

#define FRAMES_BARREL 3

class SpriteBarrel{
public:
	CL_GraphicContext barrelContext;
	CL_Sprite* barrelSprites[FRAMES_BARREL];
	CL_ResourceManager* barrelResources[FRAMES_BARREL];
public:
	SpriteBarrel(CL_GraphicContext cd);
	void drawrollingbarrel(CL_Vec2<int> position);
	void drawfallingbarrel(CL_Vec2<int> position);
	~SpriteBarrel();
};

#endif